WeDevs\ERP\Accounting\API\Ledgers_Accounts_Controller S

Total Complexity 41
Dependencies 4
Dependents 0
Total lines 689
Lines of code 379
Logical lines of code 172
Comment lines 196
Methods 20
Properties 2

Methods 20

Method Rating Maintainability Complexity Lines of code
register_routes()
S
37 1 113
add_log()
S
52 6 24
prepare_item_for_database()
S
65 5 8
get_bank_accounts()
S
58 3 15
get_item_schema()
S
47 1 44
update_ledger_category()
S
59 3 13
update_ledger_account()
S
55 2 17
create_ledger_account()
S
57 2 15
get_all_ledger_accounts()
S
58 2 15
get_ledger_account()
S
60 2 12
delete_ledger_account()
S
61 2 11
get_cash_accounts()
S
53 1 23
prepare_item_for_response()
S
57 1 17
create_ledger_category()
S
64 2 9
delete_ledger_category()
S
65 2 8
get_ledger_accounts_by_chart()
S
63 2 10
get_chart_accounts()
S
71 1 6
prepare_ledger_for_response()
S
70 1 6
prepare_bank_item_for_response()
S
70 1 6
get_ledger_categories()
S
68 1 7